package com.heima.test3.domin;

public class MathUtils {
    public static void add(int a, int b) {
        System.out.println(a + "+" + b + "=" + (a + b));
    }

    public static void subtract(int a, int b) {
        System.out.println(a + "-" + b + "=" + (a - b));
    }

    public static void multiply(int a, int b) {
        System.out.println(a + "*" + b + "=" + (a * b));
    }

    public static void divide(double a, double b) {
        System.out.println(a + "/" + b + "=" + (a / b));
    }
}
